#include <iostream>
#include <string>
#include <unistd.h>
#include <stdlib.h>
#include <signal.h>


// ./mykill 9 1234
int main()
{
    int cnt = 5;
    while(true)
    {
        std::cout << "hahaha alive" << std::endl;
        cnt--;
        if(cnt <= 0)
        {
            abort();
        }
        sleep(1);
    }

    return 0;
}
